<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加部门</title>
    <script src="/jquery/jquery-3.2.1.min.js"></script>
    <script src="/layui/layui.js"></script>
    <link rel="stylesheet" href="/layui/css/layui.css"/>
    <link rel="stylesheet" href="/css/jurisdiction/department-editor.css"/>
</head>
<body>
    <form class="layui-form" id="advForm">

        <div class="layui-form-item">
            <label class="layui-form-label">部门名称：</label>
            <div class="layui-input-block">
                <input type="text" name="deptName" required  lay-verify="required" placeholder="请输入名称" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">是否启用</label>
            <div class="layui-input-block">
                <select name="status" lay-filter="filter" lay-verify="filter">
                    <option value="2">停用</option>
                    <option value="1">启用</option>
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">创建时间：</label>
            <div class="layui-input-block">
                <input type="text" name="createDate" required disabled="disabled"  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
                <input type="hidden" name="createId" class="layui-input"/>
            </div>
        </div>

        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">部门描述：</label>
            <div class="layui-input-block">
                <textarea id="deptDescirbe" name="deptDescirbe" placeholder="请输入内容" class="layui-textarea"></textarea>
            </div>
        </div>
        <div class="right">
            <button type="submit" class="layui-btn layui-btn-xs layui-btn-normal" lay-submit lay-filter="sub">
                添加
            </button>
            <a class="layui-btn layui-btn-xs layui-btn-primary" href="javascript:;cancel()">
                取消
            </a>
        </div>
    </form>
</body>
    <script src="/js/jurisdiction/add-department.js"></script>
</html>